package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.MiniOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.vo.HomeStatisticsVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 李鼎
* @description 针对表【mini_order(订单表)】的数据库操作Mapper
* @createDate 2023-11-24 09:44:28
* @Entity com.ruoyi.system.domain.MiniOrder
*/
public interface MiniOrderMapper extends BaseMapper<MiniOrder> {

    HomeStatisticsVO selectStatisticsInfo(@Param("startTime")String startTime,@Param("endTime") String endTime);
    /**
     * 查询订单
     *
     * @param id 订单主键
     * @return 订单
     */
    public MiniOrder selectMiniOrderById(Long id);

    /**
     * 查询订单列表
     *
     * @param miniOrder 订单
     * @return 订单集合
     */
    public List<MiniOrder> selectMiniOrderList(MiniOrder miniOrder);

}




